//
//  UILabel+Extension.swift
//  weibo
//
//  Created by sanya on 15/6/30.
//  Copyright © 2015年 sanya. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(color:UIColor,fontSize:CGFloat,mutiLines: Bool = false){
        self.init()
        
        font = UIFont.systemFontOfSize(fontSize)
        textColor = color
        if mutiLines {
            numberOfLines = 0
        }
    }
}
